package com.ruoyi.domain;


import java.time.LocalDateTime;

public class ScreenshotDTO {
    private String imageData; // Base64编码的图片数据
    private LocalDateTime captureTime; // 可选字段：截图时间

    // 必须包含无参构造器
    public ScreenshotDTO() {}

    // Getter和Setter方法
    public String getImageData() {
        return imageData;
    }

    public void setImageData(String imageData) {
        this.imageData = imageData;
    }

    public LocalDateTime getCaptureTime() {
        return captureTime;
    }

    public void setCaptureTime(LocalDateTime captureTime) {
        this.captureTime = captureTime;
    }

    // 可选：添加数据校验方法
    public boolean isValid() {
        return imageData != null && !imageData.isEmpty();
    }
}
